[IA64] xen: 64KB vhpt size
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 9 May 2006 17:34:45 +0000 (11:34 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 9 May 2006 17:34:45 +0000 (11:34 -0600)
dom0 vp model: make vhpt size smaller to 64KB. this is a temporal change.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/include/asm-ia64/vhpt.h

index fc7437d220693d1ca2278923a1fc72fd392db72a..7416db30add26b80136516e3bb6259d09eafcd54 100644 (file)
@@ -4,7 +4,12 @@
 #define VHPT_ENABLED 1
 
 /* Size of the VHPT.  */
-#define        VHPT_SIZE_LOG2                  24
+#ifdef CONFIG_XEN_IA64_DOM0_VP
+// XXX work around to avoid trigerring xenLinux software lock up detection.
+# define       VHPT_SIZE_LOG2                  16      // 64KB
+#else
+# define       VHPT_SIZE_LOG2                  24      // 16MB default
+#endif
 
 /* Number of entries in the VHPT.  The size of an entry is 4*8B == 32B */
 #define        VHPT_NUM_ENTRIES                (1 << (VHPT_SIZE_LOG2 - 5))